import axios from "axios";

const api = axios.create({
  baseURL: "https://api.example.com",
  timeout: 1000,
  headers: { Authorization: "Bearer " + localStorage.getItem("token") },
});

export default api;
